package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportAddressEdit;
import cn.stylefeng.guns.modular.transport.model.params.TransportAddressEditParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportAddressEditResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 地址修改申请表 服务类
 * </p>
 *
 * @author zhucx
 * @since 2023-11-21
 */
public interface TransportAddressEditService extends IService<TransportAddressEdit> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    void add(TransportAddressEditParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    void delete(TransportAddressEditParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    void update(TransportAddressEditParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    TransportAddressEditResult findBySpec(TransportAddressEditParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-21
     */
    List<TransportAddressEditResult> findListBySpec(TransportAddressEditParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2023-11-21
     */
     LayuiPageInfo findPageBySpec(TransportAddressEditParam param,String condition,Long operateId);

}
